﻿<%@ Page Title="" Language="C#" MasterPageFile="~/views/admin/AdminMaster.master" AutoEventWireup="true" CodeFile="tz.aspx.cs" Inherits="views_customer_tz" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MyContent" Runat="Server">
    <div class="col">
               <h3 class="text-center" style="color: white">
                  
                   商品评价详细信息</h3>

           </div>
    <style>
        .card {
          background-color: transparent; /* 设置背景色为透明 */
          color: white; /* 设置字体颜色为白色 */
        }
        .repeater {
             display: flex; /* 设置为弹性盒子布局 */
            flex-wrap: wrap; /* 设置为自动换行 */
        }
        .zoom {
          width: 400px; /* 设置div的宽度 */
          height: 300px; /* 设置div的高度 */
          border: 2px solid black; /* 设置div的边框 */
          box-shadow: 0 0 10px gray; /* 设置div的阴影 */
          background-color:transparent; /* 设置div的背景色 */
          color: white;
          transition: transform 0.5s; /* 设置动画的持续时间为0.5秒 */
          margin: 20px; /* 设置div.zoom的外边距为10像素 */
          text-decoration:none;
        }
         .label-hover:hover 
        { 
            color:antiquewhite;
            font-weight: bold;
            font-size:50px;

        } 
        .label-block 
        { 
            display: block; 

        } 
         .abbc {
          
          color: white; /* 设置字体颜色为白色 */
          font-size:20px;
        }
        .zoom:hover {
          transform: scale(1.2); /* 设置放大的比例为1.2倍 */
          box-shadow: 0 0 20px gray; /* 设置div的阴影 */
        }
</style>
      <div class ="abbc"> 
                   <asp:Label ID="Label3" runat="server" Text="你选择的商品是：" CssClass="label-hover label-block" />                   
                   <asp:Label ID="Label2" runat="server" Text="该商品平均分数为：" CssClass="label-hover label-block" /> 
                    <asp:Label ID="Label4" runat="server" Text="该商品好评数量为：" CssClass="label-hover label-block" /> 
                    <asp:Label ID="Label5" runat="server" Text="该商品中评数量为：" CssClass="label-hover label-block" /> 
                    <asp:Label ID="Label6" runat="server" Text="该商品差评数量为：" CssClass="label-hover label-block" /> 
          </div>
    <div class="col-md-4">
    <asp:Button ID="Button1" runat="server" Text="查看好评" Class=" btn-success btn" style="background-color:black;" Height="44px" Width="149px" OnClick="Button1_Click"/>
    <asp:Button ID="Button2" runat="server" Text="查看中评" Class=" btn-success btn" style="background-color:black;" Height="44px" Width="149px" OnClick="Button2_Click"/>
    <asp:Button ID="Button3" runat="server" Text="查看差评" Class=" btn-success btn" style="background-color:black;" Height="44px" Width="149px" OnClick="Button3_Click"/>
     <asp:Button ID="Button4" runat="server" Text="返回" Class=" btn-success btn" style="background-color:black;" Height="44px" Width="149px" OnClick="Button4_Click"/>
        </div>
    
    
        <asp:Repeater ID="rptReviews"  runat="server">
        <ItemTemplate> 
        <div class="zoom">
        <p>反馈内容：<%# Eval("ReviewContent") %></p > 
        <p>建议：<%# Eval("Reviewnr") %></p > 
        <p>商品分数：<%# Eval("ReviewScore") %></p >
        <p>用户：<%# Eval("ConsumerName") %></p > 
        <p>体验图片：<asp:Image ID="imgReview" runat="server" ImageUrl='<%# Eval("Reviewpicture") %>' AlternateText="Review Image" style="width: 100px; height: 100px;" /></p>
        </div> 
        </ItemTemplate> 
    </asp:Repeater>
    
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="PJTY.dal.DataClasses1DataContext" EntityTypeName="" TableName="Review">
    </asp:LinqDataSource>
    
</asp:Content>

